package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Account
 * @(account)
 * @version : Ver 1.0
 */
@TableName("account")
public class Account implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:账户表
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;

	/**
	 * @备注:哆币
	 * @字段:duo_bi DECIMAL(11)
	 */
	private java.math.BigDecimal duoBi;

	/**
	 * @备注:雅币
	 * @字段:ya_bi DECIMAL(11)
	 */
	private java.math.BigDecimal yaBi;
	/**
	 * @备注:不可用雅币
	 * @字段:ya_bi DECIMAL(11)
	 */
	private java.math.BigDecimal unavailableYabi;

	/**
	 * @备注:不可用哆币
	 * @字段:ya_bi DECIMAL(11)
	 */
	private java.math.BigDecimal unavailableDuobi;

	/**
	 * @备注:用户
	 * @字段:muser_id BIGINT(19)
	 */
	private java.lang.Long muserId;

	@TableField(exist = false)
	private Muser muser;


	private  java.math.BigDecimal totalMoney;
	private java.lang.Boolean isFrozen;



	private  java.math.BigDecimal income;

	private  java.math.BigDecimal rebateYabi;

	private  java.math.BigDecimal rebateDuobi;
	public Account(){
	}

	public Account(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}

	public Muser getMuser() {
		return muser;
	}

	public void setMuser(Muser muser) {
		this.muser = muser;
	}

	public void setDuoBi(java.math.BigDecimal duoBi) {
		this.duoBi = duoBi;
	}

	public java.math.BigDecimal getDuoBi() {
		return this.duoBi;
	}

	public Boolean getFrozen() {
		return isFrozen;
	}

	public void setFrozen(Boolean frozen) {
		isFrozen = frozen;
	}

	public void setYaBi(java.math.BigDecimal yaBi) {
		this.yaBi = yaBi;
	}

	public java.math.BigDecimal getYaBi() {
		return this.yaBi;
	}

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}

	public void setMuserId(java.lang.Long muserId) {
		this.muserId = muserId;
	}

	public java.lang.Long getMuserId() {
		return this.muserId;
	}

	public BigDecimal getIncome() {
		return income;
	}

	public void setIncome(BigDecimal income) {
		this.income = income;
	}

	public BigDecimal getRebateYabi() {
		return rebateYabi;
	}

	public void setRebateYabi(BigDecimal rebateYabi) {
		this.rebateYabi = rebateYabi;
	}

	public BigDecimal getRebateDuobi() {
		return rebateDuobi;
	}

	public void setRebateDuobi(BigDecimal rebateDuobi) {
		this.rebateDuobi = rebateDuobi;
	}

	public BigDecimal getUnavailableYabi() {
		return unavailableYabi;
	}

	public void setUnavailableYabi(BigDecimal unavailableYabi) {
		this.unavailableYabi = unavailableYabi;
	}

	public BigDecimal getUnavailableDuobi() {
		return unavailableDuobi;
	}

	public void setUnavailableDuobi(BigDecimal unavailableDuobi) {
		this.unavailableDuobi = unavailableDuobi;
	}
}
